import puppeteer from 'puppeteer'
 

const startPuppeteer = async () => {
  console.log('🌐 启动Puppeteer浏览器...')
  
  const browser = await puppeteer.launch({
    headless: false,
    defaultViewport: null,
    args: ['--start-maximized']
  })

  const page = await browser.newPage()
  await page.goto('http://localhost:5173')
  
  console.log('✅ 页面已打开: http://localhost:5173')
}
  startPuppeteer();